package com.cz.datafetcher.entity.search;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "采集设备搜索条件")
public class FetchDevicesSearch extends BaseSearchModel {

    private Integer id;
    private Integer[] ids;

    @ApiModelProperty("采集类型外键")
    private Integer fetchType;
    private  Integer[] fetchTypes;

    @ApiModelProperty(value = "采集方式外键")
    private Integer fetchWay;
    private Integer[] fetchWays;

    @ApiModelProperty("名称 like")
    private String name;

    @ApiModelProperty(value = "序列号 like")
    private  String sn;

    @ApiModelProperty("生产设备（被采集设备）的id，外键")
    private String deviceId;
    private String[] deviceIds;

    @ApiModelProperty(value = "true启用，false禁用")
    private boolean enable;
}
